<input type="text" class="ui-menu" <% if (readOnly) { %>disabled="disabled"<% } %> />